<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>政工信息管理</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <style>
        .table-bordered > tbody > tr > td
        {
            border: white 0px solid;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/left::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <div style="padding: 15px;">
            <h2>政工信息</h2>
            <hr>
            <h3>基本信息</h3>
            <div class="table-responsive">
                <table class="table text-nowrap table-bordered">
                    <thead>

                    </thead>
                    <tbody>
                        <tr>
                            <td>姓名:</td><td th:text="${staff.getStaName()}"></td>
                            <td>职工号:</td><td th:text="${staff.getStaNum()}"></td>
                            <td>email:</td><td th:text="${staff.getStaEmail()}"></td>
                        </tr>
                        <tr>
                            <td>性别:</td><td th:text="${staff.isStaSex()?'男':'女'}"></td>
                            <td>民族:</td><td th:text="${staff.isStaNation()?'汉族':'其他'}"></td>
                            <td>籍贯:</td><td th:text="${staff.getStaProvince()}"></td>
                        </tr>
                        <tr>
                            <td>政治面貌:</td><td th:text="${staff.getStaPoliticalOutlook()}"></td>
                            <td>所在院系:</td><td th:text="${staff.getStaCollege()}"></td>
                            <td>学历:</td><td th:text="${staff.getStaEducationBackground()}"></td>
                        </tr>
                        <tr>
                            <td>身份证:</td><td th:text="${staff.getStaIdCard()}"></td>
                            <td>聘任类别:</td><td th:text="${staff.getStaSort()}"></td>
                            <td>学位:</td><td th:text="${staff.getStaDegree()}"></td>
                        </tr>
                        <tr>
                            <td>出生日期:</td><td th:text="${staff.getStaBirthday()}"></td>
                            <td>职务:</td><td th:text="${staff.getStaWorkType()}"></td>
                            <td>婚姻:</td><td th:text="${staff.isStaMarriage()?'已婚':'未婚'}"></td>
                        </tr>
                        <tr>
                            <td>参加工作时间:</td><td th:text="${staff.getStaFirstWorkDate()}"></td>
                            <td>职称:</td><td th:text="${staff.getStaWorkTitle()}"></td>
                            <td>手机号码:</td><td th:text="${staff.getStaPhoneNum()}"></td>
                        </tr>
                        <tr>
                            <td>邮政编码:</td><td th:text="${staff.getStaPostalCode()}"></td>
                            <td>在职状态:</td><td th:text="${staff.isStaWorkState()?'在职':'离职'}"></td>
                            <td>担任辅导员（年）:</td><td th:text="${staff.getStaCounsellorTime()+'年'}"></td>
                        </tr>
                        <tr>
                            <td>微信:</td><td th:text="${staff.getStaWechat()}"></td>
                            <td>qq:</td><td th:text="${staff.getStaQqNum()}"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <h3>带学生情况</h3>
            <br>
            <table class="table table-striped  table-bordered">
                <tr>
                    <td>序号</td>
                    <td>年级</td>
                    <td>专业</td>
                    <td>班级</td>
                    <td>人数</td>
                </tr>
                <tr  th:each="staffTakeStudent:${staffTakeStudentList}">
                    <td th:text="${staffTakeStudent.getTstuId()}"></td>
                    <td th:text="${staffTakeStudent.getTstuGrade()}"></td>
                    <td th:text="${staffTakeStudent.getTstuMajor()}"></td>
                    <td th:text="${staffTakeStudent.getTstuClass()}"></td>
                    <td th:text="${staffTakeStudent.getTstuStistic()}"></td>
                </tr>
            </table>


            <h3>奖励情况</h3>
            <br>
            <table class="table table-striped  table-bordered">
                <tr>
                    <td>序号</td>
                    <td>奖励名称</td>
                    <td>奖励时间</td>
                    <td>授予单位</td>
                </tr>
                <tr  th:each="staffReward:${staffRewardList}">
                    <td th:text="${staffReward.getRewardId()}"></td>
                    <td th:text="${staffReward.getRewardName()}"></td>
                    <td th:text="${staffReward.getRewardTime()}"></td>
                    <td th:text="${staffReward.getRewardUnit()}"></td>
                </tr>
            </table>

            <h3>职业培训</h3>
            <br>
            <table class="table table-striped  table-bordered">
                <tr>
                    <td>序号</td>
                    <td>培训名称</td>
                    <td>培训单位</td>
                    <td>培训时间</td>
                </tr>
                <tr  th:each="staffTrain:${staffTrainList}">
                    <td th:text="${staffTrain.getTrainId()}"></td>
                    <td th:text="${staffTrain.getTrainName()}"></td>
                    <td th:text="${staffTrain.getTrainUnit()}"></td>
                    <td th:text="${staffTrain.getTrainTime()}"></td>
                </tr>
            </table>

            <h3>职业资格证书</h3>
            <br>
            <table class="table table-striped  table-bordered">
                <tr >
                    <td>序号</td>
                    <td>证书名称</td>
                    <td>授予单位</td>
                    <td>获取时间</td>
                </tr>
                <tr th:each="staffCertificate:${staffCertificateList}">
                    <td th:text="${staffCertificate.getCertId()}"></td>
                    <td th:text="${staffCertificate.getCertName()}"></td>
                    <td th:text="${staffCertificate.getCertUnit()}"></td>
                    <td th:text="${staffCertificate.getCertTime()}"></td>
                </tr>
            </table>

            <h3>论文发表情况</h3>
            <br>
            <table class="table table-striped  table-bordered">
                <tr>
                    <td>序号</td>
                    <td>论文名称</td>
                    <td>发表刊物</td>
                    <td>发表时间</td>
                </tr>
                <tr th:each="StaffThesis:${StaffThesisList}" >
                    <td th:text="${StaffThesis.getThesisId()}"></td>
                    <td th:text="${StaffThesis.getThesisName()}"></td>
                    <td th:text="${StaffThesis.getThesisForPublication()}"></td>
                    <td th:text="${StaffThesis.getThesisTime()}"></td>
                </tr>
            </table>

            <h3>教学情况</h3>
            <br>
            <table class="table table-striped  table-bordered">
                <tr>
                    <td>序号</td>
                    <td>课程名称</td>
                    <td>起始时间</td>
                    <td>结束时间</td>
                </tr>
                <tr th:each="staffCourse:${staffCourseList}">
                    <td th:text="${staffCourse.getCourseId()}"></td>
                    <td th:text="${staffCourse.getCourseName()}"></td>
                    <td th:text="${staffCourse.getCourseBegin()}"></td>
                    <td th:text="${staffCourse.getCourseEnd()}"></td>
                </tr>
            </table>

        </div>
    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>